package _struct

import "fmt"

type Cat struct {
	Animal
	Color string
}

func (c *Cat) Eat(food string) {
	fmt.Printf("%s爱吃%s \n", c.Name, food)
}

func (c Cat) Sleep() {
	fmt.Printf("%s正在睡觉 \n", c.Name)
}

func (c Cat) Run() {

}

func (c Cat) GetName() string {
	return c.Name
}
